package com.cqupt.scanning.system.file.helper.utils;

import cn.hutool.core.date.DateUtil;

import java.util.Date;

/**
 * @Data: 2021/7/7 9:46
 * @Author: 宋宝梁
 */
public class TimeFormatUtil {

    public static final String ONE = "yyyyMMddhhmmss";

    public static String getStrTime(String pattern) {
        return DateUtil.format(new Date(), pattern);
    }
}
